package com.cjh.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cjh.mapper.EmpMapper;
import com.cjh.pojo.Emp;
import com.cjh.service.EmpService;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author cjh
 * @Date 2020/12/2 17:53
 * @Version 1.0
 */
@DubboService(timeout = 3000)
public class EmpServiceImpl extends ServiceImpl<EmpMapper, Emp> implements EmpService {

    @Autowired
    private EmpMapper empMapper;

    @Override
    public List<Emp> linkedSelect() {
        return empMapper.linkedSelect();
    }
}
